package com.itstyle.seckill.topic.diruptor;

import com.lmax.disruptor.EventHandler;

/**
 * @Auther: liuwenxiang
 * @Date: 2020/4/3 15:51
 * @Description:
 * 消费者
 */
public class LongEventHandler implements EventHandler<LongEvent> {


    @Override
    public void onEvent(LongEvent longEvent, long l, boolean b) throws Exception {
        System.out.println(longEvent);
    }
}
